package com.atguigu.stgy.app.service.impl;

import com.atguigu.stgy.app.service.LeaseTermService;
import com.atguigu.stgy.model.entity.LeaseTerm;
import org.springframework.stereotype.Service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.stgy.app.mapper.LeaseTermMapper;

import java.util.List;
//import com.atguigu.stgy.model.entity.LeaseTerm;

@Service
public class LeaseTermServiceImpl extends ServiceImpl<LeaseTermMapper, LeaseTerm> implements LeaseTermService {

    @Override
    public List<LeaseTerm> selectListByRoomId(Long roomId) {

        return baseMapper.selectListByRoomId(roomId);
    }

//    @Override
//    public List<LeaseTerm> listByRoomId(Long roomId) {
//
//        return baseMapper.selectListByRoomId(roomId);
//    }
}
